negotiator.tournament.VariablesAndValues
Class AgentParameterVariable
java.lang.Object
negotiator.tournament.VariablesAndValues.TournamentVariable
negotiator.tournament.VariablesAndValues.AgentParameterVariable
- All Implemented Interfaces:
- java.io.Serializable
public class AgentParameterVariable
- extends TournamentVariable
ProfileVariable is a variable for a tournament,
indicating that the profile is to be manipulated.
It just is an indicator for the TournamentVariable that its
value array contains a ProfileValue.
- Author:
- wouter
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AgentParameterVariable
public AgentParameterVariable(AgentParam para)
- Parameters:
para - the parameter info
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
addValue
public void addValue(TournamentValue v)
throws java.lang.Exception
- Description copied from class:
TournamentVariable
- add given value to the array of values
- Specified by:
addValue in class TournamentVariable
- Throws:
java.lang.Exception
getAgentParam
public AgentParam getAgentParam()
varToString
public java.lang.String varToString()
- Description copied from class:
TournamentVariable
- varToString converts the variable name into a string.
It shound NOT convert the values, only the variable name and its parameters (eg AgentParam[tau])
- Specified by:
varToString in class TournamentVariable